/*
 * author      : 吴中勤 
 * date        : 2018/8/17
 * description : TODO
 */

package com.deepexi.adapter.sdk.sap.dto;

import com.deepexi.adapter.common.BaseDto;
import com.deepexi.adapter.common.CommonUtils;
import com.deepexi.adapter.common.security.AdapterSecurity;
import com.deepexi.adapter.sdk.sap.SapBizConst;
import com.google.gson.annotations.SerializedName;

public class SapBaseRequest extends BaseDto {

    @SerializedName("REQID")
    protected String reqId;

    @SerializedName("SYSTYPE")
    protected final String sysType = SapBizConst.SYS_TYPE_DTC;

    @SerializedName("SECRETKEY")
    protected String secretKey;

    public SapBaseRequest() {
        secretKey = AdapterSecurity.Sap.getSecretkey();
        reqId = CommonUtils.uuid();
    }

    // === setter & getter ===

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public String getSysType() {
        return sysType;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
}
